import { NgModule, ErrorHandler } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { IonicApp, IonicModule, IonicErrorHandler } from 'ionic-angular';
import { MyApp } from './app.component';

import { AboutPage } from '../pages/about/about';
import { ContactPage } from '../pages/contact/contact';
import { HomePage } from '../pages/home/home';
import { TabsPage } from '../pages/tabs/tabs';
import { DhzqPage } from '../pages/dhzq/dhzq';
import { WebviewPage } from '../pages/webview/webview';
import { ChongPage } from '../pages/chong/chong';
import { IndexPage } from '../pages/index/index';
import { ZhucePage } from '../pages/zhuce/zhuce';
import { FortPage } from '../pages/fortpass/fortpass';
import { Fort2Page } from '../pages/fortpas2/fortpas2';
// import   $  from 'jquery';

import { SpcontactPage } from '../pages/spcontact/spcontact';

import { JiluPage } from '../pages/jilu/jilu';


import { StatusBar } from '@ionic-native/status-bar';
import { SplashScreen } from '@ionic-native/splash-screen';


import { BarcodeScanner } from '@ionic-native/barcode-scanner';

import { BrowserTab } from '@ionic-native/browser-tab';

import { Alipay, AlipayOrder } from '@ionic-native/alipay';
import { HTTP } from '@ionic-native/http';

import { ThemeableBrowser, ThemeableBrowserOptions, ThemeableBrowserObject } from '@ionic-native/themeable-browser';

@NgModule({
  declarations: [
    MyApp,
    AboutPage,
    ContactPage,
    HomePage,
    DhzqPage,
    WebviewPage,
    SpcontactPage,
    // AlipayOrder,
    TabsPage,
    ChongPage,
    JiluPage,
    IndexPage,
    ZhucePage,
    FortPage,Fort2Page
  ],
  imports: [
    BrowserModule,
    IonicModule.forRoot(MyApp,{
      backButtonText: "",tabsHideOnSubPages: 'true'
    })
  ],
  bootstrap: [IonicApp],
  entryComponents: [
    MyApp,
    AboutPage,
    ContactPage,
    HomePage,
    DhzqPage,
    WebviewPage,
    TabsPage,
    ChongPage,
    IndexPage,
    SpcontactPage,
    ZhucePage,
    JiluPage,
    FortPage,Fort2Page

  ],
  providers: [
    StatusBar,
    SplashScreen,
    BarcodeScanner,
    BrowserTab,
    Alipay, 
    HTTP,
    ThemeableBrowser,
 
    // AlipayOrder,

    {provide: ErrorHandler, useClass: IonicErrorHandler}
  ]
})
export class AppModule {}
